﻿using PLCS.Application.Contracts.EquipmentApp.Dtos;
using PLCS.Application.Contracts.ProcessApp.Dtos;

namespace PLCS.Application.Contracts.ProcessApp;

public interface IProcessAppService : ICrudAppService<ProcessDto, Guid, PagedResultRequestDto, ProcessEditDto>
{
    Task<IEnumerable<ProcessDto>> GetProcessListAsync();

    Task UpdateAsync(ProcessEditDto input);

    Task<IEnumerable<TableDto>> GetTableNamesAsync();

    Task<ProcessDto> GetByProcessNoAsync(string processNo);

    Task<PagedResultDto<ProcessDto>> GetListBySearchAsync(PagedResultRequestDto input, string? processNo);
}